-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove 'variant' and 'static' attributes from coach indicator #4772
chore: remove 'variant' and 'static' attributes from coach indicator #4772
Conversation
Lighthouse scores
What is this?Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on Transfer Size
Request Count
|
Tachometer resultsChromecoachmark permalinkbasic-test
Firefoxcoachmark permalinkbasic-test
|
.circleci/config.yml
Outdated
@@ -219,6 +219,20 @@ jobs: | |||
branch=$(npx slugify-cli $branch) | |||
yarn netlify deploy --alias=$branch --cwd projects/documentation | |||
|
|||
beta-docs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad rebase, fixed it now!
<sp-tab value="standard">Standard</sp-tab> | ||
<sp-tab-panel value="standard"> | ||
|
||
```html | ||
<sp-coach-indicator></sp-coach-indicator> | ||
<sp-coach-indicator variant="dark"></sp-coach-indicator> | ||
<sp-coach-indicator variant="light"></sp-coach-indicator> | ||
<sp-coach-indicator static="dark"></sp-coach-indicator> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not use static as a property!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
@@ -41,8 +41,8 @@ import { CoachIndicator } from '@spectrum-web-components/coachmark'; | |||
|
|||
```html | |||
<sp-coach-indicator quiet></sp-coach-indicator> | |||
<sp-coach-indicator quiet variant="dark"></sp-coach-indicator> | |||
<sp-coach-indicator quiet variant="light"></sp-coach-indicator> | |||
<sp-coach-indicator quiet static="dark"></sp-coach-indicator> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not use static as a property!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
@@ -22,14 +22,14 @@ export default { | |||
|
|||
export const staticWhite = (): TemplateResult => { | |||
return html` | |||
<sp-coach-indicator variant="white"></sp-coach-indicator> | |||
<sp-coach-indicator quiet variant="white"></sp-coach-indicator> | |||
<sp-coach-indicator static="white"></sp-coach-indicator> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not use static as a property!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
22ec9db
to
0460905
Compare
ab4e2e0
into
ruben/remove-deprecations
* chore: remove 'variant' and 'static' attributes from coach-indicator (#4772) * chore: remove split-button component (#4729) * chore: remove banner component (#4723) * chore: remove deprecated badge values (#4742) * chore: remove sp-quick-actions (#4761) * chore: remove popover's dialog property (#4751) * chore: remove thumbnail deprecated sizes (#4760) * chore: remove progress-circle overBackground property (#4750) * chore: remove deprecated 'static' references (#4818) * chore: remove action-button variant property (#4741) * chore: remove 'theme' attribute from sp-theme (#4765) * feat: add 1.0.0 migration guide (#4776)
…4829) - feat(styles): add Spectrum 2 styles - feat(icons-workflow): add support for new Spectrum 2 icons (#4747) - feat(icon): add support for Spectrum 2 icons (#4747) - chore: remove pre-1.0.0 deprecations (#4828) - feat(coach-indicator)!: remove 'variant' and 'static' attributes from coach-indicator (#4772) - feat(split-button)!: remove split-button component (#4729) - feat(banner)!: remove banner component (#4723) - feat(badge)!: remove deprecated badge values (#4742) - feat(quick-actions)!: remove sp-quick-actions (#4761) - feat(popover)!: remove popover's dialog property (#4751) - feat(thumbnail)!: remove thumbnail deprecated sizes (#4760) - feat(progress-circle)!: remove progress-circle overBackground property (#4750) - feat(action-button,action-group,action-menu,button,link,meter,progress-bar): remove deprecated 'static' references (#4818) - feat(action-button)!: remove action-button variant property (#4741) - feat(theme)!: remove 'theme' attribute from sp-theme (#4765) - chore: make the spectrum-two theme fully functional (#4859) - chore: add 1.0.0 migration guide (#4776)
Description
Removed the
sp-coach-indicator
"variant" and "static" attributes, along with all associated references and dependencies.Related issue(s)
Motivation and context
For the upcoming 1.0.0 release of Spectrum Web Components, we will remove the deprecated components and features.
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.